﻿using System.ComponentModel.DataAnnotations;
using ZhonTai.Admin.Core.Dto;
using ZhonTai.Admin.Services.Permission.Dto;
using ZhonTai.Industry.Services.StationFeature.Dto.Input;
using ZhonTai.Industry.Services.StationFeature.Dto.Output;

namespace ZhonTai.Industry.Services.StationFeature
{
    /// <summary>
    /// 工站功能服务
    /// </summary>
    public interface IStationFeatureService
    {
        /// <summary>
        /// 查询
        /// </summary>
        Task<StationFeatureGetOutput> GetAsync(long id);
        public Task<StationFeatureGetOutput> GetStationAsync(long id);

        /// <summary>
        /// 列表查询
        /// </summary>
        /// <param name="wsStatusGetListInput"></param>
        /// <returns></returns>
        Task<IEnumerable<StationFeatureGetListOutput>> GetListAsync(StationFeatureGetListInput wsStatusGetListInput);

        /// <summary>
        /// 开启功能
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task SetEnableAsync(StationFeatureSetEnableInput input);

        /// <summary>
        /// 分页查询
        /// </summary>
        Task<PageOutput<StationFeatureGetPageOutput>> GetPageAsync(PageInput<StationFeatureGetPageInput> input);

        /// <summary>
        /// 新增
        /// </summary>
        Task<long> AddAsync(StationFeatureAddInput input);

        /// <summary>
        /// 编辑
        /// </summary>
        Task UpdateAsync(StationFeatureUpdateInput input);

        /// <summary>
        /// 删除
        /// </summary>
        Task<bool> DeleteAsync(long id);

        /// <summary>
        /// 软删除
        /// </summary>
        Task<bool> SoftDeleteAsync(long id);

        /// <summary>
        /// 批量软删除
        /// </summary>
        Task<bool> BatchSoftDeleteAsync(long[] ids);
    }
}